package com.CST.entity.cb;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.alibaba.excel.annotation.ExcelProperty;

/**
 * @author ly
 * @since 2022-01-24
 */
@ApiModel(value = "")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ETL_SALARY")
public class EtlSalary implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "年")
    private String year;

    @ApiModelProperty(value = "月")
    private String month;

    @ApiModelProperty(value = "账套ID")
    private String accId;

    @ApiModelProperty(value = "账套名称")
    private String accName;

    @ApiModelProperty(value = "员工编号")
    private String empId;

    @ApiModelProperty(value = "员工名称")
    private String empName;

    @ApiModelProperty(value = "科室编号")
    private String deptId;

    @ApiModelProperty(value = "科室名称")
    @TableField(exist = false)
    private String deptName;

    @ApiModelProperty(value = "总价")
    private Double amount;

    @ApiModelProperty(value = "项目代码")
    private String itemCode;

    @ApiModelProperty(value = "项目名称")
    private String itemName;

    @ApiModelProperty(value = "院区")
    private String yard;

    @ApiModelProperty(value = "抽取时间")
    private LocalDateTime etlTime;

    @TableField(exist = false)
    private String tableName;

    @ApiModelProperty(value = "支持多部门查询")
    @TableField(exist = false)
    private List<String> lstDept;

    @ApiModelProperty(value = "费用要素编号")
    @TableField(exist = false)
    private String costItemCode;

    @ApiModelProperty(value = "费用要素名称")
    @TableField(exist = false)
    private String costItemName;

    @ApiModelProperty(value = "科室类型ID")
    @TableField(exist = false)
    private String deptTypeId;

    @ApiModelProperty(value = "科室类型")
    @TableField(exist = false)
    private String deptTypeName;

    @ApiModelProperty(value = "核算单元编号")
    @TableField(exist = false)
    private String unitCode;

    @ApiModelProperty(value = "核算单元名称")
    @TableField(exist = false)
    private String unitName;

    @ApiModelProperty(value = "标记")
    @TableField(exist = false)
    private String isSame;

    @ApiModelProperty(value = "父级科室编号")
    @TableField(exist = false)
    private String pDeptID;
}
